package com.xiaotu.easypoi.testexport.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 张晓
 * @create 2021-05-18 21:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExportUserModel {

    @Excel(name = "姓名", suffix = "%")
    private String userName;

    /**
     * 1:男 0:女
     */
    @Excel(name = "性别", replace = {"男_1", "女_0"})
    private Integer gender;

    @Excel(name = "出生日期", width = 20, format = "yyyy-MM-dd")
    private Date birthday;


}
